package com.hy.demo.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author cjl
 * @version 1.0
 * @since 2020-08-17 11:54
 */
@Data
public class Person {

    @JSONField(ordinal=1)
    private Integer  id;

    @JSONField(ordinal=2)
    private String name;

    @JSONField(ordinal=3)
    private Integer age;

    @JSONField(ordinal=4)
    private List<Cat> cat;
}
